﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _02_HtmlCotrol : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            TestLink.Title = "访问学习通";
            TestLink.HRef = "http://i.chaoxing.com/base?t=1620397689123";
            TestLink.Target = "_blank";
            TestLink.InnerText = "学习通";
            TestLinkServer.InnerText = "访问服务端的方法";

        }
    }

    protected void TestLinkServer_ServerClick(object sender, EventArgs e)
    {
        Literal1.Text = "获取文本值：" + TestLinkServer.InnerText;
    }
}